package com.g360.sys.web.bind.annotation;

import com.g360.sys.util.Constants;

import java.lang.annotation.*;

/**
 * Created by vpc on 2016/4/1.
 */
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CurrentUser {
    /**
     * 当前用户在request中的名字
     * @return
     */
    String value() default Constants.CURRENT_USER;
}
